home *** CD-ROM | disk | FTP | other *** search
/ Univers Mac Interactif 42 / Univers Mac Interactif - Issue 42.iso / >interactif / Démos Voyager / FREAK.DIR / 00315_Script_MOVIESCRIPT < prev    next >
Text File  |  1994-10-18  |  497b  |  31 lines

  1. on startMovie
  2.   cursor 200
  3. end
  4.  
  5. on waitSnd chan
  6.   if soundbusy(chan) then go the frame
  7. end
  8.  
  9. on waitQT chan
  10.   if the movierate of sprite chan = 1 then go the frame
  11. end
  12.  
  13. on myWait theTicks
  14.   set myTicks = theTicks + the ticks
  15.   repeat while (myTicks >= the ticks)
  16.   end repeat
  17. end
  18.  
  19. on waiting theTicks
  20.   if the timer <= theTicks then go the frame
  21. end
  22.  
  23. on keydown 
  24.   global autoplaying
  25.   put 0 into autoplaying
  26.   sound stop 1
  27.   sound stop 2
  28.   unloadcast
  29.   play done
  30. end
  31.